<html><head><title>SpriteBlendingMode</title></head>
<body bgcolor="#FFFFDF" link="#009999" vlink="#006666" alink="#006666">
<font face="Arial" size="2"><p align="center"><b><font size="4">SpriteBlendingMode()</font></b></p>
<p><b>Syntax</b></p><blockquote>
<font color="#006666"><b>SpriteBlendingMode</b></font>(SourceMode, DestinationMode)</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Changes the way the sprite are blended with the background (when using <a href="displaytransparentsprite.html">DisplayTransparentSprite()</a>). 
This function is for advanced users only. The result can differ depending of the underlying subsystem: 
for example OpenGL and DirectX doesn't behave the same. 

</blockquote><p><b>Parameters</b></p><blockquote>
<style type="text/css">
table.parameters { border-spacing: 0px; border-style: none; border-collapse: collapse; }
table.parameters td { border-width: 1px; padding: 6px; border-style: solid; border-color: gray; vertical-align: top; font-family:Arial; font-size:10pt; }
</style>
<table width="90%" class="parameters">
<tr><td width="10%"><i>SourceMode, DestinationMode</i></td>
<td width="90%"> 
Both source and destination mode can be one of the following values: 
<pre><font face="Courier New, Courier, mono"size="2">  <font color="#924B72">#PB_Sprite_BlendZero</font>
  <font color="#924B72">#PB_Sprite_BlendOne</font>
  <font color="#924B72">#PB_Sprite_BlendSourceColor</font>
  <font color="#924B72">#PB_Sprite_BlendInvertSourceColor</font>
  <font color="#924B72">#PB_Sprite_BlendDestinationColor</font>
  <font color="#924B72">#PB_Sprite_BlendInvertDestinationColor</font>
  <font color="#924B72">#PB_Sprite_BlendSourceAlpha</font>
  <font color="#924B72">#PB_Sprite_BlendInvertSourceAlpha</font>
  <font color="#924B72">#PB_Sprite_BlendDestinationAlpha</font>
  <font color="#924B72">#PB_Sprite_BlendInvertDestinationAlpha</font>
</font></pre>
The default values are SpriteBlendingMode(#PB_Sprite_BlendSourceAlpha, #PB_Sprite_BlendInvertSourceAlpha). 

</td></tr>
</table>
</blockquote><p><b>Return value</b></p><blockquote>
None.


</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=savesprite.html>SaveSprite()</a> - <a href=index.html>Sprite Index</a> - <a href=spritecollision.html>SpriteCollision()</a> ->

</body></html>